<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">
	
	var a = 'asdhalk';
	alert(a.charAt(2));


	//var a = '123';
	//var b = new String('213');
</script>
</body>
</html>